/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package dameki.game;

/**
 *
 * @author Tobi
 */
public class GameMove {

    private Stone stone;
    private int posX;
    private int posY;

    public GameMove(Stone stone, int posY, int posX) {
        this.stone = stone;
        this.posX = posX;
        this.posY = posY;
    }

    public Stone getStone() {
        return this.stone;
    }

    public int getPosX() {
        return this.posX;
    }

    public int getPosY() {
        return this.posY;
    }

    public void setPosX(int posX) {
        this.posX = posX;
    }

    public void setPosY(int posY) {
        this.posY = posY;
    }

    public void setStone(Stone stone) {
        this.stone = stone;
    }
    
    public boolean equals(GameMove move){
        if(this.stone.equals(move.stone) && this.posX == move.posX && this.posY == move.posY){
            return true;
        }else{
            return false;
        }
    }
}
